package com.irdstudio.efp.riskm.service.facade;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.irdstudio.efp.riskm.service.vo.RscAdjustBillVO;

/**
 * <p>Description:风险分类调整借据表				<p>
 * @author chenqm1
 * @date 2018-05-07
 */
public interface RscAdjustBillService {
	
	public List<RscAdjustBillVO> queryAllOwner(RscAdjustBillVO rscAdjustBillVo);
	
	public List<RscAdjustBillVO> queryAllCurrOrg(RscAdjustBillVO rscAdjustBillVo);
	
	public List<RscAdjustBillVO> queryAllCurrDownOrg(RscAdjustBillVO rscAdjustBillVo);
	
	public int insertRscAdjustBill(@Param("RscAdjustBillVo") List<RscAdjustBillVO> rscAdjustBill);
	
	public int deleteByPk(RscAdjustBillVO rscAdjustBillVo);
	
	public int updateByPk(RscAdjustBillVO rscAdjustBillVo);
	
	public RscAdjustBillVO queryByPk(RscAdjustBillVO rscAdjustBillVo);
	//查询用户权限数据
	public List<RscAdjustBillVO> queryRemoveOwner(RscAdjustBillVO vo);
	//查询当前机构权限数据
	public List<RscAdjustBillVO> queryRemoveCurrOrg(RscAdjustBillVO rscAdjustBillVo);
	// 查询当前机构及下属机构权限数据
	public List<RscAdjustBillVO> queryRemoveCurrDownOrg(RscAdjustBillVO rscAdjustBillVo);
	
	public int updateByTaskNo(RscAdjustBillVO rscAdjustBillVo);

	//判断借据号是否已通过审核
	public List<String> queryBillNo();
}
